from time import sleep
from selenium import webdriver
driver = webdriver.Firefox()
driver.get('https://mail.163.com/register/index.htm?from=163navi&regPage=163')
driver.find_element_by_id('username').send_keys('我')
driver.find_element_by_class_name('password').send_keys('ABCDEFG')
driver.find_element_by_tag_name('input').send_keys('cccc')
driver.find_element_by_link_text('帮助').click()
css_path = '#phone'
driver.find_element_by_css_selector(css_path).send_keys('7')
xpath = '//*[@id="phone"]'
driver.find_element_by_xpath(xpath).send_keys('6')